[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
XPdosMsg()
Return information about a DOS error code
------------------------------------------------------------------------------
Function: XPdosMsg()
This function will return a 1 line explanation
about the supplied DOS error code. Written in
Assembly using a table lookup, this function is
small and efficient (and anyway, the code is overlaid,
is it not? (when using Blinker)), and handy in
the world of DOS error codes, where you and I
know that 4 means "No More handles", but did
you know by heart that 32 indicates "File
Sharing Violation"?
This function can be Useful to add to your
ErrorSys. Note that the messages are returned
in English, maybe some day there will be
different version for different languages..
Syntax: XPdosMsg(nDOScode) --> cErrMessage
Arguments: nDOScode is the DOS code, as returned by [XP]ferror(),
DOSerror(), your ErrorSys or whatever.
Returns: A line explaining the Error, well Explaining. It's the
name of the error.
Currently, the following Codes are supported (in Hex):
Code Meaning Code Meaning
00h No error 22h Invalid disk change
01h Invalid function number 23h FCB unavailable
02h File not found 24h Sharing buffer overflow
03h Path not found 32h Network request not supported
04h No handle available 33h Remote computer not listening
05h Access denied 34h Duplicate name on network
06h Invalid handle 35h Network name not found
07h Memory control blocks destroyed 36h Network busy
08h Insufficient memory 37h Network device no longer exists
09h Invalid memory block address 38h Net BIOS command limit exceeded
0Ah Invalid environment 39h Network adapter hardware error
0Bh Invalid format 3Ah Incorrect response from network
0Ch Invalid access code 3Bh Unexpected network error
0Dh Invalid data 3Ch Incompatible remote adapter
0Eh Reserved 3Dh Print queue full
0Fh Invalid drive specification 3Eh Not enough space for print file
10h Attempt to remove the current 3Fh Print file was deleted
directory 40h Network name was deleted
11h Not same device 41h Access denied
12h No more files 42h Network device type incorrect
13h Disk write-protected 43h Network name not found
14h Unknown unit 44h Network name limit exceeded
15h Drive not ready 45h Net BIOS session limit exceeded
16h Unknown command 46h Temporarily paused
17h Disk data error (CRC) 47h Network request not accepted
18h Bad request structure length 48h Print or disk redirection paused
19h Seek error 50h File exists
1Ah Unknown media type 51h Reserved
1Bh Sector not found 52h Cannot make directory entry
1Ch Printer out of paper 53h Critical-error interrupt failure
1Dh Write fault 54h Too many redirections
1Eh Read fault 55h Duplicate redirection
1Fh General failure 56h Invalid password
20h File sharing violation 57h Invalid parameter
21h File locking violation 58h Network device fault
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson